package com.StarStudio.Service;

import com.ruoyi.common.core.Entity.PanicBuyingGoods;
import com.ruoyi.common.core.Entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.*;

@Service
@FeignClient(value = "PanicBuyingGoods")
public interface PanicBuyingGoodsService {


    @PutMapping("/put")
    Result updatePanicBuyingGoods(@RequestBody PanicBuyingGoods panicBuyingGoods);

    @RequestMapping("/findByGoodsId/{id}")
    PanicBuyingGoods findByGoods_id(@PathVariable(value = "id") long id);
}
